export namespace SystemConfig {
  export interface IConfigResponse {
    id: number;
    description?: any;
    modifier?: any;
    update_date: string;
    create_date: string;
    status: number;
    region: string;
    access_key: string;
    key_secret: string;
    cname: number;
    endpoint: string;
    bucket: string;
    creator: number;
  }

  export interface IConfigUpdateRequest {
    id: number;
    description?: any;
    region: string;
    access_key: string;
    key_secret: string;
    bucket: string;
    cname?: number;
    endpoint?: string;
  }

  export interface IConfigAddRequest {
    description?: any;
    region: string;
    access_key: string;
    key_secret: string;
    cname?: number;
    endpoint?: string;
    bucket: string;
  }
}

export namespace IPersonalOverView {
  export interface BlogCategory {
    categoryCode: string;
    categoryName: string;
    creator: number;
    id: number;
    totalBlogCategory: number;

    [property: string]: any;
  }

  export interface Month {
    count: number;
    month: string;
    user: number;

    [property: string]: any;
  }

  export interface Data {
    blogCategory: BlogCategory[];
    blogDiff: number;
    likeDiff: number;
    month: Month[];
    totalBlog: number;
    totalLikeNumber: number;
    totalViewNumber: number;
    totalWordCount: number;
    viewDiff: number;
    wordCountDiff: number;

    [property: string]: any;
  }

  export interface IRes {
    code: number;
    data: Data;
    msg: string;
    successful: string;

    [property: string]: any;
  }
}
